package com.cloudkinto.service.shipprice.vo;

import lombok.Data;

import java.util.List;

@Data
public class TrackReq {
    List<ProductMsgReq> list;
    private String postCode;
    private Long storageId;
    private int cod;
    private Integer shipmentType;

    public TrackReq(String postCode, Long storageId) {
        this.postCode = postCode;
        this.storageId = storageId;
    }

    public TrackReq() {
    }

    public Integer getShipmentType() {
        if (shipmentType == null) {
            return 0;
        }
        return shipmentType;
    }
}
